package cn.edu.cqu.bysj.wm.gui.model;

import java.util.List;

import cn.edu.cqu.bysj.wm.gui.result.CommunityRow;

public abstract class AlgorithmResult {

	// 节点数
	private int nodesNumber;
	// 边数
	private int edgesNumber;
	// 总时间
	private long totalTime;
	// 初始化时间
	private long initTime;
	// 迭代时间
	private long iterTime;
	// 社区发现结果
	private List<CommunityRow> communityRows;

	public long getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(long totalTime) {
		this.totalTime = totalTime;
	}

	public long getInitTime() {
		return initTime;
	}

	public void setInitTime(long initTime) {
		this.initTime = initTime;
	}

	public long getIterTime() {
		return iterTime;
	}

	public void setIterTime(long iterTime) {
		this.iterTime = iterTime;
	}

	public List<CommunityRow> getCommunityRows() {
		return communityRows;
	}

	public void setCommunityRows(List<CommunityRow> communityRows) {
		this.communityRows = communityRows;
	}

	public int getNodesNumber() {
		return nodesNumber;
	}

	public void setNodesNumber(int nodesNumber) {
		this.nodesNumber = nodesNumber;
	}

	public int getEdgesNumber() {
		return edgesNumber;
	}

	public void setEdgesNumber(int edgesNumber) {
		this.edgesNumber = edgesNumber;
	}
}
